Launching application task based on single user input and preset condition

ABSTRACT

An application program control method and apparatus relating to the communications field, where the method includes acquiring user operation information, determining, according to the user operation information, an application program icon operated by a user, determining a target control operation according to a control operation of an application program corresponding to the application program icon, and executing the target control operation. Hence, quick and efficient control on the application program is implemented.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No.PCT/CN2014/088786, filed on Oct. 17, 2014, which claims priority toChinese Patent Application No. 201310566156.1, filed on Nov. 13, 2013,both of which are hereby incorporated by reference in their entireties.

TECHNICAL FIELD

The present disclosure relates to the communications field, and inparticular, to an application program control method and a relatedapparatus.

BACKGROUND

With the development of communications technologies and electronictechnologies, an electronic device, especially a mobile electronicdevice, has increasingly more functions, and a control operation on anapplication program in the electronic device becomes a topic receivingattention.

In the prior art, an application program is generally presented on adisplay interface of an electronic device in a form of an applicationprogram icon in order to be perceived by a user. By operating theapplication program icon, the user starts a corresponding applicationprogram, and presents an application interface of the applicationprogram. Further, a control operation, for example, viewing information,creating content, and starting a key task, may be executed on theapplication program using control prompt information of the applicationinterface.

However, in a process of implementing the present disclosure, aninventor finds that the prior art has at least the following problems. Acontrol operation on an application program can be implemented by a useronly by starting the application program to open an applicationinterface, searching for and identifying different control services onthe application interface, and actively operating the different controlservices, where the operation is complicated and relatively inefficient.

SUMMARY

The present application provides an application program control methodand apparatus in order to resolve a technical problem of a complicatedand relatively inefficient control operation in the prior art.

To achieve the foregoing objective, the present application provides thefollowing technical solutions.

According to a first aspect, the present application provides anapplication program control method, including acquiring user operationinformation, determining, according to the user operation information,an application program icon operated by a user, determining a targetcontrol operation according to a control operation of an applicationprogram corresponding to the application program icon, and executing thetarget control operation.

In a first possible implementation manner of the first aspect,determining a target control operation according to a control operationof an application program corresponding to the application program iconincludes determining an execution priority of the control operation ofthe application program corresponding to the application program icon,and acquiring the target control operation according to the executionpriority of the control operation of the application programcorresponding to the application program icon, where the target controloperation is a control operation with a first execution priority in thecontrol operation.

With reference to the first possible implementation manner of the firstaspect, a second possible implementation manner of the first aspect isfurther provided, where determining an execution priority of the controloperation of the application program corresponding to the applicationprogram icon includes determining whether the application programcorresponding to the application program icon has an unprocessed updatetask at present, and determining that a control operation, in thecontrol operation of the application program, of processing theunprocessed update task is the control operation with the firstexecution priority when the application program has an unprocessedupdate task.

With reference to the second possible implementation manner of the firstaspect, a third possible implementation manner of the first aspect isfurther provided, where when the application program does not have anunprocessed update task, the method further includes determining that apreset control operation that is to be preferentially executed and is inthe control operation of the application program is the controloperation with the first execution priority.

With reference to the first possible implementation manner of the firstaspect, a fourth possible implementation manner of the first aspect isfurther provided, where determining an execution priority of the controloperation of the application program corresponding to the applicationprogram icon includes determining that a preset control operation thatis to be preferentially executed and is in the control operation of theapplication program corresponding to the application program icon is thecontrol operation with the first execution priority.

With reference to the third possible implementation manner of the firstaspect or the fourth possible implementation manner of the first aspect,a fifth possible implementation manner of the first aspect is furtherprovided, where when the preset control operation that is to bepreferentially executed does not exist in the control operation of theapplication program, the method further includes outputting promptinformation about control operation setting, and processing, accordingto a processing request of the user, a control operation determined bythe user as the preset control operation that is to be preferentiallyexecuted.

In a sixth possible implementation manner of the first aspect,determining a target control operation according to a control operationof an application program corresponding to the application program iconincludes determining an execution priority of each of the controloperation of the application program corresponding to the applicationprogram icon, acquiring a control operation executed by the applicationprogram within a preset time prior to a present moment, and selecting acontrol operation with a highest execution priority from a controloperation excluding the executed control operation as the target controloperation.

According to a second aspect, the present application provides anapplication program control apparatus, including an informationacquiring module configured to acquire user operation information, anicon determining module configured to determine, according to the useroperation information acquired by the information acquiring module, anapplication program icon operated by a user, and an operationdetermining module configured to determine a target control operationaccording to a control operation of an application program correspondingto the application program icon that is determined by the icondetermining module.

In a first possible implementation manner of the second aspect, theoperation determining module includes a first determining moduleconfigured to determine an execution priority of the control operationof the application program corresponding to the application program iconthat is determined by the icon determining module, and a seconddetermining module configured to acquire the target control operationaccording to the execution priority that is determined by the firstdetermining module and of the control operation of the applicationprogram corresponding to the application program icon, where the targetcontrol operation is a control operation with a first execution priorityin the control operation.

With reference to the first possible implementation manner of the secondaspect, a second possible implementation manner of the second aspect isfurther provided, where the first determining module includes a taskjudging module configured to determine whether the application programcorresponding to the application program icon that is determined by theicon determining module has an unprocessed update task at present, and afirst determining submodule configured to determine that a controloperation, in the control operation of the application program, ofprocessing the unprocessed update task is the control operation with thefirst execution priority when the task judging module determines thatthe application program has an unprocessed update task.

With reference to the second possible implementation manner of thesecond aspect, a third possible implementation manner of the secondaspect is further provided, where the first determining module furtherincludes a second determining submodule configured to determine that apreset control operation that is to be preferentially executed and is inthe control operation of the application program is the controloperation with the first execution priority when the task judging moduledetermines that the application program does not have an unprocessedupdate task.

With reference to the third possible implementation manner of the secondaspect, a fourth possible implementation manner of the second aspect isfurther provided, where the first determining module further includes aninformation output module configured to output prompt information aboutcontrol operation setting when the preset control operation that is tobe preferentially executed does not exist in the control operation ofthe application program, and a setting module configured to process,according to a processing request of the user, a control operationdetermined by the user as the preset control operation that is to bepreferentially executed.

With reference to the first possible implementation manner of the secondaspect, a fifth possible implementation manner of the second aspect isfurther provided, where the first determining module is furtherconfigured to determine that a preset control operation that is to bepreferentially executed and is in the control operation of theapplication program corresponding to the application program icon thatis determined by the icon determining module is the control operationwith the first execution priority.

With reference to the fifth possible implementation manner of the secondaspect, a sixth possible implementation manner of the second aspect isfurther provided, where the apparatus further includes an informationoutput module configured to output prompt information about controloperation setting when the preset control operation that is to bepreferentially executed does not exist in the control operation of theapplication program, and a setting module configured to process,according to a processing request of the user, a control operationdetermined by the user as the preset control operation that is to bepreferentially executed.

In a seventh possible implementation manner of the second aspect, theoperation determining module includes a priority determining moduleconfigured to determine an execution priority of each of the controloperation of the application program corresponding to the applicationprogram icon, an acquiring module configured to acquire a controloperation executed by the application program within a preset time priorto a present moment, and an operation determining submodule configuredto select a control operation with a highest execution priority from acontrol operation excluding the executed control operation as the targetcontrol operation.

According to a third aspect, the present application provides anelectronic device, including at least a receiver and a processor, wherethe receiver is configured to acquire user operation information, andthe processor is configured to determine, according to the useroperation information acquired by the receiver, an application programicon operated by a user, determine a target control operation accordingto a control operation of an application program corresponding to theapplication program icon, and execute the target control operation.

In a first possible implementation manner of the third aspect, that theprocessor determines the target control operation according to thecontrol operation of the application program corresponding to theapplication program icon further includes determining an executionpriority of the control operation of the application programcorresponding to the application program icon, and acquiring the targetcontrol operation according to the execution priority of the controloperation of the application program corresponding to the applicationprogram icon, where the target control operation is a control operationwith a first execution priority in the control operation.

In conclusion, the present application provides an application programcontrol method and apparatus, where an application program icon operatedby a user may be determined by acquiring user operation information, anda target control operation of an application program corresponding tothe application program icon may be further determined such that thetarget control operation may be executed on the application program. Thecontrol operation is simple and efficient, compared with complicatedsteps in the prior art in which the user needs to first start theapplication program to open an application interface and then activelyselect and trigger a control operation on the application program, suchas triggering a control operation on the application program. Inaddition, the user has no cognitive load, and when the user operates anapplication program icon, a target control operation of a correspondingapplication program may be automatically determined, therebyimplementing efficient and quick control.

BRIEF DESCRIPTION OF DRAWINGS

To describe the technical solutions in the embodiments of thisapplication more clearly, the following briefly describes theaccompanying drawings required for describing the embodiments. Theaccompanying drawings in the following description show merely someembodiments of this application, and a person of ordinary skill in theart may still derive other drawings from the provided accompanyingdrawings without creative efforts.

FIG. 1 is a flowchart of an embodiment of an application program controlmethod according to an embodiment of the present application;

FIG. 2A is a flowchart of another embodiment of an application programcontrol method according to an embodiment of the present application;

FIG. 2B is a schematic diagram of an interface display of an electronicdevice applied in an embodiment of the present application;

FIG. 2C is a schematic diagram of another interface display of anelectronic device applied in an embodiment of the present application;

FIG. 3 is a flowchart of still another embodiment of an applicationprogram control method according to an embodiment of the presentapplication;

FIG. 4A is a flowchart of still another embodiment of an applicationprogram control method according to an embodiment of the presentapplication;

FIG. 4B is a schematic diagram of still another interface display of anelectronic device applied in an embodiment of the present application;

FIG. 5 is a flowchart of still another embodiment of an applicationprogram control method according to an embodiment of the presentapplication;

FIG. 6 is a schematic structural diagram of an embodiment of anapplication program control apparatus according to an embodiment of thepresent application;

FIG. 7 is a schematic structural diagram of another embodiment of anapplication program control apparatus according to an embodiment of thepresent application;

FIG. 8 is a schematic structural diagram of still another embodiment ofan application program control apparatus according to an embodiment ofthe present application;

FIG. 9 is a schematic structural diagram of still another embodiment ofan application program control apparatus according to an embodiment ofthe present application; and

FIG. 10 is a schematic structural diagram of an embodiment of anelectronic device according to an embodiment of the present application.

DESCRIPTION OF EMBODIMENTS

The following clearly and completely describes the technical solutionsin the embodiments of this application with reference to theaccompanying drawings in the embodiments of the present application. Thedescribed embodiments are only a part rather than all of the embodimentsof this application. All other embodiments obtained by a person ofordinary skill in the art based on the embodiments of the presentapplication without creative efforts shall fall within the protectionscope of this application.

One of main ideas of the embodiments of the present application includesthe following.

An application program icon operated by a user may be determined whenuser operation information is acquired, and a target control operationof an application program corresponding to the application program iconmay be further determined such that the target control operation may beexecuted on the application program. The control operation is simple andefficient, and the user has no cognitive load, and when the useroperates an application program icon, a target control operation of acorresponding application program may be intelligently determined,thereby implementing efficient and quick control.

FIG. 1 is a flowchart of an embodiment of an application program controlmethod according to an embodiment of the present application, and themethod may include the following steps.

Step 101: Acquire user operation information.

The user operation information may refer to keyboard operationinformation, touchscreen operation information, and the like.

The keyboard operation information may be operation informationgenerated when a user operates a keyboard of an electronic device, forexample, triggers a specific key or key combination of the keyboard inorder to implement an operation on an application program icon displayedon an application program icon presentation interface of the electronicdevice.

The touchscreen operation information may refer to operation informationgenerated according to a specific touch or approaching operationexecuted at a position at which an application program icon is locatedon an application program icon presentation interface of a touchscreenof the electronic device, where the specific touch or approachingoperation may be, for example, a click operation, a sliding operation,or a user-defined gesture operation.

Certainly, the user operation information in this embodiment of thepresent application includes but is not limited to the foregoinginformation.

Step 102: Determine, according to the user operation information, anapplication program icon operated by a user.

The user operation information is generated by operating the applicationprogram icon. Therefore, the application program icon operated by theuser may be determined by identifying the user operation information.

On the application program icon presentation interface of the electronicdevice, application program icons of different types of applicationprograms are arranged on a screen according to a specific order, forexample, according to an alphabetical order of initials or according toan order of installation time of the application programs. According toa requirement, the user may select a corresponding application programicon to execute a corresponding operation, and accordingly useroperation information is generated.

The application program icon is an icon used to reference an applicationprogram, and each application program icon is corresponding to anapplication program.

Step 103: Determine a target control operation according to a controloperation of an application program corresponding to the applicationprogram icon.

Each application program generally includes multiple types of controloperations, for example, viewing information, creating information, andstarting a key task. Using a mobile phone as an example, an applicationprogram icon displayed on an application program icon presentationinterface of the mobile phone includes a “Message” icon, where the“Message” icon is corresponding to a short message service (SMS)application program, and the SMS application program may include controloperations such as sending an SMS message, creating an SMS message, andviewing an unread SMS message. For another example, a “Dial” icon isfurther included, and the “Dial” icon is corresponding to a dialingprogram, where the dialing program may include control operations suchas viewing a missed call, making a call, and answering a call.

In this embodiment of the present application, the application programicon operated by the user is determined according to the user operationinformation, and the target control operation may be further determinedfrom multiple control operations of the application programcorresponding to the application program icon.

The target control operation may be a control operation that the userexpects to execute on the application program corresponding to theapplication program icon, or a control operation that needs to beexecuted at present on the application program corresponding to theapplication program icon, or the like.

Determining the target control operation may be implemented in multiplemanners.

In a possible implementation manner, an execution priority of thecontrol operation of the application program corresponding to theapplication program icon may be first determined.

The target control operation is determined according to an executionpriority of the control operation of the application programcorresponding to the application program icon, where the target controloperation is a control operation with a first execution priority in thecontrol operation.

When each control operation of the application program has an executionpriority, the first execution priority is a highest execution priority.

Certainly, in control operations of the application program, there maybe only one control operation that has the execution priority, which isthe first execution priority.

Determining the target control operation may also be implemented inanother manner, which is described in detail in the followingembodiment.

Step 104: Execute the target control operation.

Still using the mobile phone as an example, for the SMS applicationprogram corresponding to the “Message” icon, when a target controloperation of the SMS application program is creating an SMS message, acontrol operation of creating the SMS message of the SMS applicationprogram may be implemented by executing the target control operationsuch that an interface of creating the SMS message may be presented on adisplay interface.

For another example, for an audio playing application programcorresponding to a “Music” icon, a target control operation of the audioplaying application program is playing a current music file, and then anoperation of playing music of the audio playing application program maybe directly implemented by means of the target control operation.

In this embodiment, an application program icon operated by a user maybe determined when user operation information is acquired, and a targetcontrol operation of an application program corresponding to theapplication program icon may be further determined such that the targetcontrol operation may be executed. The control operation is simple andefficient, compared with the prior art in which the user needs to firststart the application program to open an application interface and thenactively select and trigger a control operation on the applicationprogram. In addition, the user has no cognitive load, and when the useroperates an application program icon, a target control operation of acorresponding application program may be automatically determined,thereby implementing efficient and quick control.

FIG. 2A is a flowchart of another embodiment of an application programcontrol method according to an embodiment of the present application,and the method may include the following steps.

Step 201: Acquire user operation information.

Step 202: Determine, according to the user operation information, anapplication program icon operated by a user.

An operation performed by the user on an application program icondisplayed on an application program icon presentation interface of anelectronic device may be performed in multiple manners, such as click,double-click, and sliding along a first direction or a second direction.In order to be differentiated from an operation in the prior art inwhich the user operates the application program icon (generally isclicking at a position at which the application program icon is located)to start an application program and present an application interface ofthe application program, in this embodiment, the user operationinformation is generated by the user by executing a specific operationon the application program icon.

Therefore, after the user operation information is acquired, as anotherembodiment, the application program control method may further includedetermining whether the user operation information satisfies a presetcondition; if the user operation information satisfy the presetcondition, an operation in step 202 is executed, and if the useroperation information does not satisfy the preset condition, anexecution procedure of this embodiment may be ended.

The preset condition is used to differentiate different user operationinformation. For example, when the user executes a double-clickoperation on an application program icon to trigger application programcontrol of the present application, the preset condition may be that theuser operation information is information of two successive clickswithin a preset time.

Certainly, determining whether the user operation information satisfiesa preset condition may also be determined after the application programicon operated by the user is determined. Accordingly, if the useroperation information satisfies the preset condition, a subsequentoperation step is further executed, and if the user operationinformation does not satisfy the preset condition, an instruction ofstarting the application program to display the application interface ofthe application program may be executed.

Step 203: Determine whether an application program corresponding to theapplication program icon has an unprocessed update task at present, ifyes, execute step 204, and if no, end a procedure.

Step 204: Determine that a control operation, in the control operationof the application program, of processing the unprocessed update task isa control operation with a first execution priority.

Step 205: Use the control operation with the first execution priority asa target control operation.

In this embodiment, an execution priority of the control operation ofthe application program corresponding to the application program icon isdetermined according to whether the application program has anunprocessed update task at present.

The first execution priority may be set only for the control operationof processing the unprocessed update task.

Accordingly, the control operation with the first execution priority maybe used as the target control operation according to an executionpriority of the control operation of the application programcorresponding to the application program icon, that is, the controloperation of processing the unprocessed update task is used as thetarget control operation in order to implement that the unprocessedupdate task is preferentially processed for the application program.

In a running process of the electronic device, an update task in theapplication program may be an event generated in a running process ofthe application program. For example, for an SMS application program, anupdate task of the SMS application program may be receiving an SMSmessage, for a dialing application program, an update task of thedialing application program may be receiving incoming call information,and for a calendar application program, an update task of the calendarapplication program may be occurrence of a new reminded event.

Therefore, a corresponding unprocessed update task is that there is anunread SMS message, incoming call information that has not been viewed,a reminded event that has not been viewed, and the like.

Then, the control operation of processing the unprocessed update taskrefers to displaying the unread SMS message, displaying the incomingcall information, displaying the reminded event, and the like.

Step 206: Execute the target control operation.

In this embodiment, the target control operation is processing theunprocessed update task. Then the update task, or a processing interfaceof the update task, or the like may be displayed on a display interfaceof the electronic device when the target control operation is executed.

For example, when the target control operation is displaying the unreadSMS message, if the target control operation is executed, the unread SMSmessage may be displayed on the display interface of the electronicdevice, thereby facilitating the user in viewing.

As a possible implementation manner of displaying the update task on thedisplay interface of the electronic device, the update task may bedisplayed on a current application program icon presentation interface,and an update task display area may cover at least a part of applicationprogram icons in order to implement quick viewing of the update task.

Using a mobile phone as an example, FIG. 2B shows a schematic displaydiagram of the display interface of the electronic device in thisembodiment of the present disclosure, where the application program iconpresentation interface is displayed. Application program icons aregenerally arranged according to an alphabetical order of applicationprogram names or according to an order of installation time ofapplication programs.

As shown in FIG. 2B, the user executes a specific gesture operation on a“Message” application program icon, for example, clicks a “Message” iconand slides in a first direction. Accordingly, a system may acquire theuser operation information, and determine that the application programicon operated by the user is the “Message” application program icon.

When an unread SMS message exists in the SMS application programcorresponding to the “Message” application program icon, for example, aquantity “3” of unread SMS messages is displayed at a boundary positionof the “Message” application program icon in FIG. 2B, viewing the unreadSMS messages is the target control operation. Accordingly, the targetcontrol operation is executed, and the unread SMS messages are quicklydisplayed on a current display interface. FIG. 2C shows anotherschematic display diagram of a display interface of an electronic deviceaccording to an embodiment of the present application, where a displayarea of unread SMS messages covers at least a part of a display area ofapplication program icons.

In this embodiment, user operation information is acquired, and anapplication program icon operated by a user and an application programcorresponding to the application program icon may be determined, and ifthe application program has an unprocessed update task at present, acontrol operation of processing the unprocessed update task is used as atarget control operation such that a control instruction is generatedand executed, thereby implementing the target control operation on theapplication program. An inventor finds in a study that when the usertriggers and starts the application program to display an applicationinterface of the application program, most of preferentially executedoperations are processing unprocessed update tasks. Therefore, in thisembodiment, by intelligently determining a processing status of anupdate task of the application program, a control operation ofprocessing the unprocessed update task may be implemented according toinformation about one user operation of the user. The user has nocognitive load and does not need to perform a complicated operation, anda control process is simple and efficient, and can accurately implementprocessing on the application program.

FIG. 3 is a flowchart of another embodiment of an application programcontrol method according to an embodiment of the present application,and the method may include the following steps.

Step 301: Acquire user operation information.

Step 302: Determine, according to the user operation information, anapplication program icon operated by a user.

As a possible implementation situation, it may further be determinedwhether the user operation information satisfies a preset condition, andwhen the preset condition is satisfied, an operation in step 302 or step303 is further executed.

Step 303: Determine that a preset control operation that is to bepreferentially executed and is in a control operation of an applicationprogram corresponding to the application program icon is a controloperation with a first execution priority.

Step 304: Use the control operation with the first execution priority asa target control operation.

In this embodiment, an execution priority of the control operation ofthe application program corresponding to the application program icon isdetermined according to whether the control operation is preset to bepreferentially executed. It is determined that the preset controloperation that is to be preferentially executed is the control operationwith the first execution priority.

Accordingly, it is determined that the control operation with the firstexecution priority is the target control operation.

Step 305: Execute the target control operation.

For example, for an SMS application program corresponding to a “Message”icon in a mobile phone, the control operation that is to bepreferentially executed may be set to creating an SMS message, and thenthe creating an SMS message is used as the control operation with thefirst execution priority. Accordingly, when the user operates the“Message” icon, a system may detect the user operation information andfurther determine the SMS application program, and may determine thatthe creating an SMS message is the target control operation, and whenthe target control operation is executed, a creating interface of theSMS message may be output on a display interface.

The control operation that is to be preferentially executed may beobtained by learning according to a historical record. That is, in ahistorical record of a control operation of the user on any applicationprogram, a control operation whose quantity of recording times isgreater than a threshold is set as a preset control operation that is tobe preferentially executed of the application program such that thepreset control operation that is to be preferentially executed conformsto an operation habit of the user.

Certainly, the preset control operation that is to be preferentiallyexecuted may also be defined by the user.

In this embodiment, user operation information is acquired, and anapplication program icon operated by a user and an application programcorresponding to the application program icon may be determined, and apreset control operation that is to be preferentially executed of theapplication program is selected as a target control operation, therebyimplementing the target control operation on the application program. Inthis embodiment, the target control operation on the application programmay be implemented according to information about one user operation ofthe user, and the target control operation is the preset controloperation that is to be preferentially executed, which satisfies anoperation habit of the user, and a control process is simple andefficient, and accurately implements processing on the applicationprogram by the user.

FIG. 4A is a flowchart of another embodiment of an application programcontrol method according to an embodiment of the present application,and the method may include the following steps.

Step 401: Acquire user operation information.

Step 402: Determine, according to the user operation information, anapplication program icon operated by a user.

As a possible implementation situation, it may further be determinedwhether the user operation information satisfies a preset condition, andwhen the preset condition is satisfied, an operation in step 402 or step403 is further executed.

Step 403: Determine whether an application program corresponding to theapplication program icon has an unprocessed update task at present, ifyes, execute step 404, and if no, execute step 405.

Step 404: Determine that a control operation of processing theunprocessed update task and is in a control operation of the applicationprogram is a control operation with a first execution priority.

Step 405: Determine whether a preset control operation that is to bepreferentially executed exists in the control operation of theapplication program, if yes, execute step 406, and if no, execute step409.

Step 406: Determine that the preset control operation that is to bepreferentially executed is the control operation with the firstexecution priority.

Step 407: Use the control operation with the first execution priority asa target control operation.

Step 408: Execute the target control operation.

In this embodiment, when the application program has an unprocessedupdate task, the control operation of processing the unprocessed updatetask is used as the control operation with the first execution priority,when the application program does not have an unprocessed update task,if the application program has a preset control operation that is to bepreferentially executed, the control operation that is to bepreferentially executed is used as the control operation with the firstexecution priority.

Accordingly, when the target control operation is determined accordingto an execution priority of the control operation of the applicationprogram, it is determined that the control operation with the firstexecution priority is the target control operation.

The preset control operation that is to be preferentially executed maybe a control operation that is to be executed first, that is selectedfrom a historical record of the control operation of the applicationprogram, and whose quantity of recording times is greater than athreshold.

Certainly, the preset control operation that is to be preferentiallyexecuted may also be defined by the user. Therefore, as still anotherembodiment, when the preset control operation that is to bepreferentially executed does not exist in the control operation of theapplication program, the method may further include the following steps.

Step 409: Output prompt information about control operation setting.

Step 410: Set, according to a processing request of the user, a controloperation determined by the user as the preset control operation that isto be preferentially executed.

The prompt information about control operation setting may present, tothe user, selection prompt information corresponding to each of multiplecontrol operations, and the user may select, according to the promptinformation, a control operation that the user wants to preferentiallyexecute when operating the application program icon each time.Certainly, the user may also actively enter a key prompt word of acontrol operation that is to be preferentially executed. Accordingly,according to the processing request of the user, a system may determinethe control operation and set the control operation as the presetcontrol operation that is to be preferentially executed. When the useroperation information is detected next time, or when it is detected thatthe user operation information satisfies a preset condition, it may bedetermined that the preset control operation that is to bepreferentially executed and corresponding to the application program isthe target control operation.

Still using a mobile phone as an example, FIG. 4B shows still anotherschematic display diagram of a display interface of an electronic deviceaccording to an embodiment of the present application. It may be learnedfrom FIG. 4B that the output prompt information about control operationsetting is whether to define a control operation that is to bepreferentially executed, and provides selection buttons “Yes” and “No”for the user. If the user clicks Yes, a control operation that is to bepreferentially executed may be set.

In this embodiment, user operation information is acquired, and anapplication program icon operated by a user and an application programcorresponding to the application program icon may be determined. Whenthe application program has an unprocessed update task, a controloperation of processing the unprocessed update task is used as a targetcontrol operation, and when the application program does not have anunprocessed update task, a preset control operation that is to bepreferentially executed of the application program is used as the targetcontrol operation such that a control instruction may be generated andexecuted according to the determined target control operation. Inaddition, when the preset control operation that is to be preferentiallyexecuted does not exist in the application program, the user may furtherbe prompted to set a control operation that is to be preferentiallyexecuted. This embodiment implements quick and efficient control on theapplication program. In addition, the control operation conforms to anoperation habit of the user, and intelligent control is implemented onthe application program.

As another possible implementation manner of this embodiment of thepresent application, it may also be first determined whether anapplication program has a preset control operation that is to bepreferentially executed, and if no, it is further determined whether theapplication program has an unprocessed update task.

FIG. 5 is a flowchart of another embodiment of an application programcontrol method according to an embodiment of the present application,and the method may include the following steps.

Step 501: Acquire user operation information.

Step 502: Determine, according to the user operation information, anapplication program icon operated by a user.

As a possible implementation situation, it may further be determinedwhether the user operation information satisfies a preset condition, andwhen the preset condition is satisfied, an operation in step 502 or step503 is further executed.

Step 503: Determine an execution priority of each of a control operationof an application program corresponding to the application program icon.

In this embodiment, each control operation of the application programhas an execution priority, and the execution priority of each controloperation may be preset.

Step 504: Acquire a control operation executed by the applicationprogram within a preset time prior to a present moment.

Step 505: Select a control operation with a highest execution priorityfrom a control operation excluding the executed control operation as atarget control operation.

In a practical application, because of a misoperation or another factorof a user, a control operation on an application program is not acontrol operation actually expected to be executed, or after executing acontrol operation on the application program, the user may expect toexecute another control operation.

Therefore, in this embodiment, the control operation executed by theapplication program within the preset time prior to the present momentmay be first acquired, where the present moment is a moment at which theuser operation information is acquired.

If the control operation executed by the application program can beacquired, it indicates that when the user operates the applicationprogram icon last time, an implemented control operation is not acontrol operation expected to be executed, and the user may trigger theapplication program icon again in order to select the control operationwith the highest execution priority from the control operation excludingthe executed control operation as a current target control operation.

If the control operation executed by the application program cannot beacquired, a current operation may be considered as a first operation ofthe user. That is, the control operation with the highest executionpriority is selected from the control operation of the applicationprogram as the target control operation.

Step 506: Execute the target control operation.

In this embodiment, user operation information is acquired, and anapplication program icon operated by a user and an application programcorresponding to the application program icon may be determined, and atarget control operation of the application program may be determinedaccording to an execution priority of each of a control operation of theapplication program and a control operation executed by the applicationprogram within a preset time prior to a present moment. This embodimentimplements quick and efficient control on the application program. Inaddition, the control operation conforms to an operation habit of theuser, and intelligent control is implemented on the application program.

For ease of description, each of the foregoing method embodiments isdescribed as a combination of a series of actions. However, a personskilled in the art should understand that the present application is notlimited to the sequence of the described actions, because certain stepsaccording to the present application may be executed in another sequenceor concurrently. In addition, a person skilled in the art should alsounderstand that the embodiments described herein are exemplaryembodiments, and the involved actions and modules mentioned are notnecessarily required by the present application.

FIG. 6 is a schematic structural diagram of an embodiment of anapplication program control apparatus according to an embodiment of thepresent application, and the apparatus may include an informationacquiring module 601 configured to acquire user operation information,where the user operation information may refer to keyboard operationinformation, touchscreen operation information, and the like, an icondetermining module 602 configured to determine, according to the useroperation information acquired by the information acquiring module 601,an application program icon operated by a user, an operation determiningmodule 603 configured to determine a target control operation accordingto a control operation of an application program corresponding to theapplication program icon that is determined by the icon determiningmodule 602, and an execution module 604 configured to execute the targetcontrol operation determined by the operation determining module 603.

In this embodiment, when acquiring user operation information, theapparatus may determine an application program icon operated by a user,and may further determine a target control operation of an applicationprogram corresponding to the application program icon, and accordinglygenerates and executes a control instruction, thereby implementing thetarget control operation on the application program. The controloperation is simple and efficient, compared with the prior art in whichthe user needs to first start the application program to open anapplication interface and then actively select and trigger a controloperation on the application program. In addition, the user has nocognitive load, and when the user operates an application program icon,a target control operation of a corresponding application program may beautomatically determined, thereby implementing efficient and quickcontrol.

The target control operation may be a control operation that the userexpects to execute on the application program corresponding to theapplication program icon, or a control operation that needs to beexecuted at present on the application program corresponding to theapplication program icon, or the like.

Determining the target control operation may be implemented in multiplemanners. In a possible implementation manner, the operation determiningmodule 603 may include a first determining module configured todetermine an execution priority of the control operation of theapplication program corresponding to the application program icon thatis determined by the icon determining module, and a second determiningmodule configured to acquire the target control operation according tothe execution priority that is determined by the first determiningmodule and of the control operation of the application programcorresponding to the application program icon, where the target controloperation is a control operation with a first execution priority in thecontrol operation.

FIG. 7 is a schematic structural diagram of another embodiment of anapplication program control apparatus according to an embodiment of thepresent application, and the apparatus may include an informationacquiring module 701, an icon determining module 702, a firstdetermining module 703, a second determining module 704, and anexecution module 705.

The information acquiring module 701 is configured to acquire useroperation information.

The icon determining module 702 is configured to determine, according tothe user operation information acquired by the information acquiringmodule 701, an application program icon operated by a user.

The first determining module 703 is configured to determine an executionpriority of a control operation of an application program correspondingto the application program icon that is determined by the icondetermining module.

In this embodiment, an operation determining module that determines atarget control operation according to the control operation of theapplication program corresponding to the application program icon thatis determined by the icon determining module may include the firstdetermining module 703 and the second determining module 704.

As a possible implementation manner, the first determining module 703may include a task judging module 7031 configured to determine whetherthe application program corresponding to the application program iconthat is determined by the icon determining module has an unprocessedupdate task at present, and a first determining submodule 7032configured to, when the task judging module 7031 determines that theapplication program has an unprocessed update task, determine that acontrol operation, in the control operation of the application program,of processing the unprocessed update task is a control operation with afirst execution priority.

As another possible implementation manner, when the task judging module7031 determines that the application program does not have anunprocessed update task, the first determining module 703 may furtherinclude a second determining submodule 7033 configured to, when the taskjudging module 7031 determines that the application program does nothave an unprocessed update task, determine that a preset controloperation that is to be preferentially executed and is in the controloperation of the application program is the control operation with thefirst execution priority.

The preset control operation that is to be preferentially executed maybe a control operation that is to be executed first, that is selectedfrom a historical record of the control operation of the applicationprogram, and whose quantity of recording times is greater than athreshold.

Certainly, the preset control operation that is to be preferentiallyexecuted may also be defined by the user.

The second determining module 704 is configured to acquire the targetcontrol operation according to the execution priority that is determinedby the first determining module and of the control operation of theapplication program corresponding to the application program icon, wherethe target control operation is the control operation with the firstexecution priority in the control operation.

The execution module 705 is configured to execute the target controloperation.

In this embodiment, when the application program has an unprocessedupdate task, the control operation of processing the unprocessed updatetask is used as the control operation with the first execution priority,and when the application program does not have an unprocessed updatetask, if the application program has a preset control operation that isto be preferentially executed, the control operation that is to bepreferentially executed is used as the control operation with the firstexecution priority.

Accordingly, when the target control operation is determined accordingto an execution priority of the control operation of the applicationprogram, it is determined that the control operation with the firstexecution priority is the target control operation.

The preset control operation that is to be preferentially executed mayalso be defined by the user.

Therefore, as still another possible implementation manner, the firstdetermining module 703 may further include an information output module7034 configured to output prompt information about control operationsetting when the preset control operation that is to be preferentiallyexecuted does not exist in the control operation of the applicationprogram, and a setting module 7035 configured to process, according to aprocessing request of the user, a control operation determined by theuser as the preset control operation that is to be preferentiallyexecuted.

In this embodiment, the apparatus acquires user operation information,and may determine an application program icon operated by a user and anapplication program corresponding to the application program icon. Whenthe application program has an unprocessed update task, a controloperation of processing the unprocessed update task is used as a targetcontrol operation, and when the application program does not have anunprocessed update task, a preset control operation that is to bepreferentially executed of the application program is used as the targetcontrol operation such that a control instruction may be generated andexecuted according to the determined target control operation. Inaddition, when the preset control operation that is to be preferentiallyexecuted does not exist in the application program, the user may furtherbe prompted to set a control operation that is to be preferentiallyexecuted. This embodiment implements quick and efficient control on theapplication program. In addition, the control operation conforms to anoperation habit of the user, and intelligent control is implemented onthe application program.

FIG. 8 is a schematic structural diagram of another embodiment of anapplication program control apparatus according to an embodiment of thepresent application, and the apparatus may include an informationacquiring module 801, an icon determining module 802, a firstdetermining module 803, a second determining module 804, and anexecution module 805.

The information acquiring module 801 is configured to acquire useroperation information.

The icon determining module 802 is configured to determine, according tothe user operation information acquired by the information acquiringmodule 801, an application program icon operated by a user.

The first determining module 803 is configured to determine an executionpriority of a control operation of an application program correspondingto the application program icon that is determined by the icondetermining module.

In this embodiment, an operation determining module that determines atarget control operation according to the control operation of theapplication program corresponding to the application program icon thatis determined by the icon determining module may include the firstdetermining module 803 and the second determining module 804.

As a possible implementation manner, the first determining module 803 isfurther configured to determine that a preset control operation that isto be preferentially executed and is in the control operation of theapplication program corresponding to the application program icon thatis determined by the icon determining module is a control operation witha first execution priority.

The second determining module 804 is configured to acquire the targetcontrol operation according to the execution priority that is determinedby the first determining module and of the control operation of theapplication program corresponding to the application program icon, wherethe target control operation is the control operation with the firstexecution priority in the control operation.

The execution module 805 is configured to execute the target controloperation determined by the second determining module 804.

The preset control operation that is to be preferentially executed maybe a control operation that is to be executed first, that is selectedfrom a historical record of the control operation of the applicationprogram, and whose quantity of recording times is greater than athreshold.

Certainly, the preset control operation that is to be preferentiallyexecuted may also be defined by the user.

Therefore, the control operation that is to be preferentially executedmay not exist in the application program. Therefore, as still anotherembodiment, the apparatus may further include an information outputmodule 806 configured to output prompt information about controloperation setting when the preset control operation that is to bepreferentially executed does not exist in the control operation of theapplication program, and a setting module 807 configured to process,according to a processing request of the user, a control operationdetermined by the user as the preset control operation that is to bepreferentially executed.

In this embodiment, user operation information is acquired, and anapplication program icon operated by a user and an application programcorresponding to the application program icon may be determined, and apreset control operation that is to be preferentially executed of theapplication program is selected as a target control operation, therebyimplementing the target control operation on the application program. Inthis embodiment, the target control operation on the application programmay be implemented according to information about one user operation ofthe user, and the target control operation is the preset controloperation that is to be preferentially executed, which satisfies anoperation habit of the user, and a control process is simple andefficient, and accurately implements processing on the applicationprogram by the user.

FIG. 9 is a schematic structural diagram of still another embodiment ofan application program control apparatus according to an embodiment ofthe present application, and the apparatus may include an informationacquiring module 901, an icon determining module 902, an operationdetermining module 903, and an execution module 904.

The information acquiring module 901 is configured to acquire useroperation information.

The icon determining module 902 is configured to determine, according tothe user operation information acquired by the information acquiringmodule 901, an application program icon operated by a user.

The operation determining module 903 is configured to determine a targetcontrol operation according to a control operation of an applicationprogram corresponding to the application program icon that is determinedby the icon determining module 902.

As a possible implementation manner, in this embodiment, the operationdetermining module 903 may include a priority determining module 9031configured to determine an execution priority of each of the controloperation of the application program corresponding to the applicationprogram icon, where in this embodiment, each control operation of theapplication program has an execution priority, and the executionpriority of each control operation may be preset, an acquiring module9032 configured to acquire a control operation executed by theapplication program within a preset time prior to a present moment, andan operation determining submodule 9033 configured to select a controloperation with a highest execution priority from a control operationexcluding the executed control operation as the target controloperation.

The execution module 904 is configured to execute the target controloperation determined by the operation determining module.

In this embodiment, the acquiring module 9032 acquires the controloperation executed by the application program within the preset timeprior to the present moment, where the present moment is a moment atwhich the user operation information is acquired.

If the control operation executed by the application program can beacquired, it indicates that when the user operates the applicationprogram icon last time, an implemented control operation is not acontrol operation expected to be executed, and the user may trigger theapplication program icon again such that the operation determiningsubmodule 9033 may select the control operation with the highestexecution priority from the control operation excluding the executedcontrol operation as a current target control operation.

If the control operation executed by the application program cannot beacquired, it may be considered as a first operation of the user, thatis, the operation determining module 903 may also select the controloperation with the highest execution priority from the control operationof the application program as the target control operation.

In this embodiment, the apparatus acquires user operation information,may determine an application program icon operated by a user and anapplication program corresponding to the application program icon, andmay determine a target control operation of the application programaccording to an execution priority of a control operation of theapplication program and whether a first control operation is implementedon the application program within a preset time prior to a presentmoment in order to generate and execute a control instruction. Thisembodiment implements quick and efficient control on the applicationprogram. In addition, the control operation conforms to an operationhabit of the user, and intelligent control is implemented on theapplication program.

In a practical application, the application program control apparatus inthe foregoing embodiment may be integrated into an electronic device,where the electronic device may be a mobile device such as a mobilephone and a tablet computer. The electronic device in which theapplication program control apparatus of the embodiment of the presentapplication is deployed may implement quick and efficient control on anapplication program and reduce complicated operation steps, therebyreducing a quantity of times of operating the electronic device by theuser, and further reducing computation of the electronic device, whichis conducive to improving performance of the electronic device.

It may be learned from the foregoing description that, a person skilledin the art may clearly understand that the present application may beimplemented using software in addition to a necessary universal hardwareplatform. Therefore, referring to FIG. 10, an embodiment of the presentapplication further provides an electronic device, where the electronicdevice includes at least a receiver 1001 and a processor 1002, and thereceiver and the processor are connected using a bus.

The receiver 1001 is configured to acquire user operation information,and the processor 1002 is configured to determine, according to the useroperation information acquired by the receiver 1001, an applicationprogram icon operated by a user, determine a target control operationaccording to a control operation of an application program correspondingto the application program icon, and execute the target controloperation.

As a possible implementation manner, that the processor 1002 determinesthe target control operation according to the control operation of theapplication program corresponding to the application program iconfurther includes determining an execution priority of the controloperation of the application program corresponding to the applicationprogram icon, and acquiring the target control operation according tothe execution priority of the control operation of the applicationprogram corresponding to the application program icon, where the targetcontrol operation is a control operation with a first execution priorityin the control operation.

That the processor 1002 determines the execution priority of the controloperation of the application program corresponding to the applicationprogram icon may be implemented in multiple manners, and reference maybe made to specific manners that are shown in FIG. 2A to FIG. 4A andprovided in embodiments of the present application.

As another possible implementation manner, that the processor 1002determines the target control operation according to the controloperation of the application program corresponding to the applicationprogram icon further includes determining an execution priority of eachof the control operation of the application program corresponding to theapplication program icon, acquiring a control operation operated by theapplication program within a preset time prior to a present moment, andselecting a control operation with a highest execution priority from acontrol operation excluding the executed control operation as the targetcontrol operation.

The processor may be a central processing unit (CPU), or an applicationspecific integrated circuit (ASIC), or one or more integrated circuitsconfigured to implement the embodiment of the present disclosure.

The electronic device provided in this embodiment may be configured toexecute any one of application program control methods that are shown inFIG. 1, FIG. 2A, FIG. 3, FIG. 4, FIG. 5, and FIG. 6 and provided in theembodiments of the present application.

The embodiments of the present specification are described in aprogressive manner. The focus of each embodiment is placed on adifference from other embodiments. The same or similar parts of theembodiments can be referenced mutually. The apparatus disclosed in theembodiments is described relatively simply because it corresponds to themethod disclosed in the embodiments, and for portions related to thoseof the method, reference may be made to the description of the method.

Finally, it should be noted that in this specification, relational termssuch as first and second are used only to differentiate an entity oroperation from another entity or operation, and do not necessarilyrequire or imply that any actual relationship or sequence exists betweenthese entities or operations. Moreover, the terms “include”, “comprise”,and any variation thereof are intended to cover a non-exclusiveinclusion. Therefore, in the context of a process, method, object, ordevice that includes a series of elements, the process, method, object,or device not only includes such elements, but also includes otherelements not specified expressly, or may include inherent elements ofthe process, method, object, or device. If no more limitations are made,an element limited by “include a/an . . . ” does not exclude other sameelements existing in the process, method, object, or device whichincludes the element.

For ease of description, the foregoing apparatus is described bydividing the functions into various units. Surely, when the presentapplication is implemented, the functions of each unit may beimplemented in one or more pieces of software and/or hardware.

It may be learned from description of the foregoing implementationmanners that, a person skilled in the art may clearly understand thatthe present application may be implemented using software in addition toa necessary universal hardware platform. Based on such an understanding,the technical solutions of the present application essentially or thepart contributing to the prior art may be implemented in a form of asoftware product. The software product may be stored in a storagemedium, such as a read-only memory (ROM)/random-access memory (RAM), amagnetic disk, or an optical disc, and includes several instructions forinstructing a computer device (which may be a personal computer, aserver, or a network device) to perform the methods described in theembodiments or in some parts of the embodiments of the presentapplication.

The embodiments disclosed above are described to enable a person skilledin the art to implement or use the present application. Variousmodifications made to the embodiments will be obvious to a personskilled in the art, and the general principles defined herein may alsobe implemented in other embodiments without departing from the spirit orscope of the present application. Therefore, the present application isnot intended to be limited to these embodiments illustrated herein, butshall be construed in the widest scope consistent with the principlesand novel features disclosed herein.

What is claimed is:
 1. A non-transitory computer-readable mediumcomprising instructions stored thereon, wherein when executed by aprocessor, the instructions cause the processor to: display a first userinterface comprising a plurality of application program icons, whereinthe first user interface is a home screen, the plurality of applicationprogram icons comprise a first application program icon, and wherein thefirst application program icon corresponds to a first applicationprogram; receive an operation input on the first application programicon from a user, wherein there is an unprocessed update task for thefirst application program; determine whether the operation inputsatisfies a preset condition, wherein the preset condition is a type ofpreset touch operation; in response to the operation input satisfyingthe preset condition, display a processing interface comprising contentof the unprocessed update task, wherein a display area of the processinginterface covers at least part of a display area of the first userinterface; and in response to the operation input failing to satisfy thepreset condition, display a second user interface different from theprocessing interface, wherein the second user interface is anapplication interface of the first application program when the firstapplication program is launched.
 2. The non-transitory computer-readablemedium of claim 1, wherein the first application program is a shortmessage service (SMS) application program, wherein the unprocessedupdate task indicates that there is an unread SMS message, and whereinthe processing interface comprises at least part of content of theunread SMS message.
 3. The non-transitory computer-readable medium ofclaim 1, wherein the first application program is a call applicationprogram, wherein the unprocessed update task indicates that there is anincoming call information that has not been viewed, and wherein theprocessing interface comprises information describing a missed call. 4.The non-transitory computer-readable medium of claim 2, wherein theprocessing interface further comprises a contact of the unread SMSmessage and a time when the unread SMS message is received.
 5. Thenon-transitory computer-readable medium of claim 1, wherein theunprocessed update task indicates that there is a reminded event thathas not been viewed, and wherein the processing interface comprises thereminded event.
 6. The non-transitory computer-readable medium of claim1, wherein the processing interface is displayed below the firstapplication program icon.
 7. The non-transitory computer-readable mediumof claim 1, wherein the processing interface covers at least one icon onthe first user interface except the first application program icon. 8.The non-transitory computer-readable medium of claim 1, wherein theoperation input is a touch input received on the first applicationprogram icon.
 9. The non-transitory computer-readable medium of claim 1,wherein the operation input is a click operation received on the firstapplication program icon when the operation input fails to satisfy thepreset condition.
 10. The non-transitory computer-readable medium ofclaim 1, wherein the operation input comprises a double-click operationreceived on the first application program icon when the operation inputsatisfies the preset condition.
 11. A mobile device, comprising: amemory storing instructions; and a processor coupled to the memory andconfigured to execute the instructions, which cause the mobile deviceto: display a first user interface comprising a plurality of applicationprogram icons, wherein the first user interface is a home screen, theplurality of application program icons comprise a first applicationprogram icon, and wherein the first application program icon correspondsto a first application program; receive an operation input on the firstapplication program icon from a user, wherein there is an unprocessedupdate task for the first application program; determine whether theoperation input satisfies a preset condition, wherein the presetcondition is a type of preset touch operation; in response to theoperation input satisfying the preset condition, display a processinginterface comprising content of the unprocessed update task, wherein adisplay area of the processing interface covers at least part of adisplay area of the first user interface; and in response to theoperation input failing to satisfy the preset condition display a seconduser interface different from the processing interface, wherein thesecond user interface is an application interface of the firstapplication program when the first application program is launched. 12.The mobile device of claim 11, wherein the first application program isa short message service (SMS) application program, wherein theunprocessed update task indicates that there is an unread SMS message,and wherein the processing interface comprises at least part of contentof the unread SMS message.
 13. The mobile device of claim 12, whereinthe processing interface further comprises a contact of the unread SMSmessage and a time when the unread SMS message is received.
 14. Themobile device of claim 11, wherein the first application program is acall application program, wherein the unprocessed update task indicatesthat there is an incoming call information that has not been viewed, andwherein the processing interface comprises information describing amissed call.
 15. The mobile device of claim 11, wherein the unprocessedupdate task indicates that there is a reminded event that has not beenviewed, and wherein the processing interface comprises the remindedevent.
 16. The mobile device of claim 11, wherein the processinginterface is displayed below the first application program icon.
 17. Themobile device of claim 11, wherein the processing interface covers atleast one icon on the first user interface except the first applicationprogram icon.
 18. The mobile device of claim 11, wherein the operationinput is a touch input received on the first application program icon.19. The mobile device of claim 11, wherein the operation input is aclick operation received on the first application program icon when theoperation input fails to satisfy the preset condition.
 20. The mobiledevice of claim 11, wherein the operation input comprises a double-clickoperation received on the first application program icon when theoperation input satisfies the preset condition.